import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'app-recommend-service-list',
  templateUrl: './recommend-service-list.component.html',
  styleUrls: ['./recommend-service-list.component.scss'],
})
export class RecommendServiceListComponent implements OnInit {
  @Input() tagData: any;
  constructor() { }

  ngOnInit() {
    // this.demo();
  }
  demo() {
     this.tagData = {
      type: "tag",
      style: "recommendService",
      name: "recommendService",
      linearLayout: "body",
      data: {
          imageUrl: [
              "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_bd45a316c748a1afe304dcb9f09fa5ed.jpg",
              "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_bd45a316c748a1afe304dcb9f09fa5ed.jpg",
              "https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_bd45a316c748a1afe304dcb9f09fa5ed.jpg",
              "http://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_d5266dcc2cf9d4c072bde7b18fb5d6f1.jpg"
          ],
          name: "深圳刘雯-xie勿动,欧阳上官,重庆小白等<font color='#FF670F'>3</font>名员工",
          label: "共为这个店铺推荐<font color='#FF670F'>4</font>选址客户"
      }
  };
  }

}
